Skip to content

Conversation

tris203
Copy link
Collaborator

@tris203 tris203 commented May 7, 2025

Introduce new support for LCS-based diff generation and minimal text edits.
• Add lcs.lua to compute diffs based on longest common subsequence.
• Add mimimal_edits.lua to reduce and optimize text edits.
• Update nes/init.lua to apply minimal edits when a single edit is returned.

Following on from #34, this allow for edits to be reduced. although I'm not sure its always appropriate, this might be best paired with something like #3 as this makes where the changes are taking place much more subtle

NOTE: This isn't intended to be merged, but more as a discussion point of what we could do

@Xuyuanp Xuyuanp force-pushed the feat/support-inline-edit-display branch from be0415b to 9cdb7af Compare May 8, 2025 01:57
Base automatically changed from feat/support-inline-edit-display to main May 16, 2025 09:01
@tris203 tris203 force-pushed the minimal_edits branch 2 times, most recently from 3486215 to 92af03e Compare May 25, 2025 20:18
Introduce new support for LCS-based diff generation and minimal text edits.
• Add lcs.lua to compute diffs based on longest common subsequence.
• Add mimimal_edits.lua to reduce and optimize text edits.
• Update nes/init.lua to apply minimal edits when a single edit is returned.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant